<template>
  <el-config-provider :locale="locale.lang">
    <router-view></router-view>
  </el-config-provider>
</template>

<script>
import { defineComponent } from "vue";
import { elementPlusLocale } from "@/locale";

export default defineComponent({
  setup() {
    let locale = elementPlusLocale;
    return {
      locale,
    };
  },
});
</script>

<style lang="scss"></style>
